package com.wtx.chapter07;

import java.util.ArrayList;

/**
 * @description:
 * @author: wtx
 * @createDate: 2020/5/25
 */
public class Main {

    public static void main(String[] args) {

        ArrayList<String> words = new ArrayList<>();
        FileOperation.readFile("pride-and-prejudice.txt",words);

        BSTSet<String> set = new BSTSet<>();
        for (String word: words)
            set.add(word);

        System.out.println(set.getSize());
    }
}
